<?php use_helper('Validation') ?>

<h1>Contact Tutor</h1>
To: <?php echo $tutor->getName(); ?>
<br />
<?php echo form_tag('@tutormail?email='.$userx); ?>
<?php echo input_hidden_tag('to',$userx); ?>

Email Address: <?php echo $userx; ?>
<br /><br />
<label>Your Name</label><br />
<?php echo form_error('yourname') ?>
<?php echo input_tag('yourname',$sf_params->get('yourname',''),'size=30x1'); ?>
<br /><br />
<label>Your Email Address</label><br />
<?php echo form_error('youremail') ?>
<?php echo input_tag('youremail',$sf_params->get('youremail',''),'size=30x1'); ?>
<br /><br />
<label>Subject</label><br />
<?php echo form_error('subject') ?>
<?php echo input_tag('subject',$sf_params->get('subject',''),'size=50x1'); ?>
<br /><br />
<label>Content</label><br />
<?php echo form_error('content') ?>
<?php echo textarea_tag('content',$sf_params->get('content',''),'size=50x5'); ?>
<br /><br />
<?php echo submit_tag('Submit') ?>

</form>